package com.zhuimeng.shardingjdbcdemo.entry;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity(name = "c_order" )
public class Order implements Serializable {
    @Id
    @Column(name = "id")
    private long id;
    @Column(name = "is_del")
    private int isDel;
    @Column(name = "user_id")
    private int userId;
    @Column(name = "company_id")
    private int companyId;
    @Column(name = "publish_user_id")
    private int publishUserId;
    @Column(name = "positionId")
    private int positionId;
    @Column(name = "resume_type")
    private int resumeType;
    @Column(name = "status")
    private String status;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
}
